package org.platform.lwc.netty.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Socket 配置类
 *
 * @author: Fred
 * @email 453086@qq.com
 * @create: 2021-07-20 15:22
 */
@Data
@ConfigurationProperties(prefix = "socket")
public class SocketProperties {

    private Integer port;

    private Integer workCount;

    private Boolean allowCustomRequests;

    private Integer upgradeTimeout;

    private Integer pingTimeout;

    private Integer pingInterval;

    private Integer maxFramePayloadLength;

    private Integer maxHttpContentLength;


}